package com.one.service;

import com.one.bean.Product;

/**
 * Create on 2022-01-17
 * <p>
 * Author: LiangWei
 * <p>
 * Description:
 **/
public interface ProductService {
    /**
     *@author : LiangWei
     *@date : 2022-01-17 12:16
     *@return :
     *@description : 查询商品信息
     */
    Product selectProductByProdId(Integer prodId);
    /**
     *@author : LiangWei
     *@date : 2022-01-17 13:26
     *@return : 是true，不是false
     *@description : 判断商品是否是抢购商品并且在售并且在活动时间内
     */
    boolean judgeProductPurchaseAndStatus(Integer prodId);
}
